﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Runtime.Serialization;
using System.ServiceModel;

namespace SAServices.Model
{
    [DataContract]
    public enum OutputType
    {
        [EnumMember]
        kIGS = 1,
        [EnumMember]
        kDWF,
        [EnumMember]
        kSAT,
        [EnumMember]
        kSTP,
        [EnumMember]
        kIPT
    }

    [DataContract]
    public class FamilyInfo
    {
        [DataMember]
        public Guid ID { get; set; }
        [DataMember]
        public Guid CategoryID { get; set; }

        [DataMember(IsRequired = true)]
        public int VendorID { get; set; }

        [DataMember(IsRequired = true)]
        public int StandardID { get; set; }

        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public string DisplayName { get; set; }

        [DataMember(IsRequired = true)]
        public int Idx { get; set; }
        [DataMember]
        public bool IsCached { get; set; }
        [DataMember]
        public DateTime PublishDate { get; set; }
    }
}
